import { getFenLei } from './api.js'

getFenLei(0).then(res => {
  console.log(res)
  var str = ""
  res.result.data.forEach(element => {
    str += `<li>${element.category_cn}</li>`
  });
  var box = document.getElementById("box")
  box.innerHTML = str;
})